package com.base.taskreports.reports.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.base.taskreports.reports.entiyt.jfs.TblCqpntPointInFlowEntity;
import com.base.taskreports.reports.entiyt.jfs.TblPointActivityEntity;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张玉涛
 * @since 2021-11-09
 */
public interface TblCqpntPointInFlowService extends IService<TblCqpntPointInFlowEntity> {

	//非货币积分发放金额浮动比率
    List<TblCqpntPointInFlowEntity>  selectFloatingRateOfNonMonetaryPoints(String DateTime);
    
    // 非人民币货币积分发放金额浮动比率
    List<TblCqpntPointInFlowEntity>  selectFloatingRatioOfNonRMBCurrencyPoints(String DateTime, List<TblPointActivityEntity> tblPointActivityList);

    // 事后结算积分发放金额浮动比率
    List<TblCqpntPointInFlowEntity>  selectFloatingRatioOfBonusAmountIssuedAfterSettlement(String DateTime, List<TblPointActivityEntity> tblPointActivityList);

    // 单用户货币积分余额> N浮动比率
    List<TblCqpntPointInFlowEntity>  selectSingleUserCurrencyScoreBalanceNFloatingRatio(String DateTime);

    // 单用户非货币积分余额> N浮动比率
    List<TblCqpntPointInFlowEntity>  selectSingleUserNonCurrencyPointsBalanceNFloatingRatio(String DateTime);

    // 临时用户（非注册用户,即不使用userID用户）交易数量浮动比										
    List<TblCqpntPointInFlowEntity>  selectFloatingRatioOfTheNumberOfTransactionsByTemporaryUsers(String DateTime);

    // 积分余额为负数量				
    List<TblCqpntPointInFlowEntity>  selectTheCreditBalanceNegativeQuantity(String DateTime);

    //已失效积分金额浮动比率
    String selectFloatingRateExpiredPoints(String dateTime);
}
